package com.situ.blog.dao;

import com.situ.blog.pojo.Blog;
import com.situ.blog.pojo.query.BlogQuery;
import com.situ.blog.pojo.vo.BlogVO;

import java.util.List;

public interface IBlogDao {
    List<BlogVO> selectByPage(BlogQuery blogQuery);
    int selectTotalCount(BlogQuery blogQuery);

    void add(Blog blog);

    Blog selectById(int id);

    void update(Blog blog);

    List<Blog> selectAll();

    void addExcel(Blog blog);
}
